Start fixing cursor motion around invisible text.
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Jul 2011 15:16:27 +0000 (18:16 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Jul 2011 15:16:27 +0000 (18:16 +0300)
commit380de71544a136b31b6061eecdd7883333daae20
tree2876eab36cc653d1082e2c215c46c860be80b240
parent3f058de97ba1c868eee10899e4f170b727beeced
Start fixing cursor motion around invisible text.
Hit a MAJOR design problem in pushing and popping bidi iterator state.

 src/xdisp.c (reseat_1): Call bidi_init_it to resync the bidi
 iterator with IT's position.
 (handle_stop, back_to_previous_visible_line_start, reseat_1):
 Reset the from_disp_prop_p flag.
 src/bidi.c (bidi_cache_search): Don't assume bidi_cache_last_idx is
 always valid if bidi_cache_idx is valid.
 (bidi_cache_find_level_change): xassert that bidi_cache_last_idx
 is valid if it's going to be used.
src/ChangeLog
src/bidi.c
src/xdisp.c